package com.voyage.system.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.voyage.common.constant.BaseDO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@NoArgsConstructor
@TableName(value = "v_borrow_info")
public class BorrowDO extends BaseDO implements Serializable {

    @ApiModelProperty(value = "借款人姓名")
    private String borrowName;

    @ApiModelProperty(value = "借款方式")
    private int borrowType;

    @ApiModelProperty(value = "借款日期")
    private LocalDateTime borrowTime;

    @ApiModelProperty(value = "借款金额")
    private BigDecimal amount;

    @ApiModelProperty(value = "关系")
    private int relation;

    @ApiModelProperty(value = "用途")
    private int purpose;

    @ApiModelProperty(value = "利息")
    private float rate;

    @ApiModelProperty(value = "归还时间")
    private LocalDateTime returnTime;

    @ApiModelProperty(value = "优先级")
    private int priority;

    @ApiModelProperty(value = "借款借款证明")
    private String borrowPath;

}
